namespace IAM.Interface.DAL.Response
{
    using IAM.Interface.IDAL;
    using IAM.Interface.Model;
    using ResponseLocalLibrary;
    using System;

    public class IdentityMgnt : IIdentityMgnt
    {
        private Business business = new Business();

        public virtual AccountInfo CreateIdentity(Identity xmlrequest)
        {
            return this.business.CreateIdentity(xmlrequest);
        }

        public virtual AccountInfo DeleteIdentity(Identity xmlrequest)
        {
            return this.business.DeleteIdentity(xmlrequest);
        }

        public virtual AccountInfo DisableIdentity(Identity xmlrequest)
        {
            return this.business.DisableIdentity(xmlrequest);
        }

        public virtual AccountInfo EnableIdentity(Identity xmlrequest)
        {
            return this.business.EnableIdentity(xmlrequest);
        }

        public virtual AccountInfo UpdateIdentity(Identity xmlrequest)
        {
            return this.business.UpdateIdentity(xmlrequest);
        }
    }
}

